﻿using Bricks.Unity.Injecting;
using Motar.Web.Caching;

namespace Motar.Web.UnityExtensions
{

    /// <summary>
    /// 
    /// </summary>
    public class HttpSessionLifetimeManager : CachedLifetimeManager
    {

        /// <summary>
        /// 
        /// </summary>
        /// <param name="httpSessionCacheFacade"></param>
        public HttpSessionLifetimeManager(IHttpSessionCacheFacade httpSessionCacheFacade) :
            base(httpSessionCacheFacade)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        public HttpSessionLifetimeManager() :
            this(new HttpSessionCacheFacade())
        {
        }
    }
}
